if (!/pnpm/.test(process.env.npm_execpath || '')) {
  console.error(
    `\u001b[31mError: This repository requires using pnpm as the package manager ` +
      `for scripts to work properly. Please install pnpm and try again.\u001b[39m\n`,
  )
  process.exit(1)
}
